

package com.hazelcast.security;

import javax.security.auth.callback.Callback;

/**
 * This JAAS {@link Callback} is used to retrieve a {@link SecurityContext} from the current member.
 */
public class SecurityContextCallback implements Callback {

    private SecurityContext securityContext;

    public SecurityContext getSecurityContext() {
        return securityContext;
    }

    public void setSecurityContext(SecurityContext securityContext) {
        this.securityContext = securityContext;
    }
}
